Formatting changes and Mathjax support