Make MathJax load faster on test page, fix parentheses issue in JS