MathJax improvements