Cleanup MathJax rendering a bit.