Added mathjax example and template fix