Added mathjax functionality.