Correctly added mathjax $ functionality