Added Mathjax support
More mods to previous post