Added MathJax and other modifications