link to math library properly

* In preview mode, use mathjax and dynamic css
* To compile out statically, use webtex and base64 css
* To compile out dynamically, use mathjax and dynamic css
fix static compiling and MRU