added mathjax support (hopefully)