Fix when hosting MathJax on the same domain (need to simulate cross-domain for config).