added support for mathjax and some dev niceties