added mathjax support