Fixing errors with MathJax