Fix mathjax bug