Use path.resolve to find MathJax.js, and fix up formatting.