Use the same MathJaX configuration as IPython

Most importantly, process environments like \align