Further MathJax fixes for Markdown compatibility