added support for mathjax