Added support for non-inline mathjax