Some fixes to the mathjax