use better MathJax strategy