I bet you had problems with the 'async' attribute, if it was, you can solve it in this way:

`<script type="text/x-mathjax-config">`

MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}});

</script>

<script type="text/javascript" async="async"

src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_CHTML">

</script>