mathjax codebase added. perform mathjaxing before markdown is generated
moved markdown conversion to js and latex seems to work
inline jquery as well