fixed the MathJax stuff