Math and config

Add mathjax support