switch math rendering to https://github.com/Khan/KaTeX