Made more changes to enable MathJax support.