Relocate MathJax check