MathJax mainly fixed