Use the same MathJaX configuration as IPython

Most importantly, process environments like \align
Merge pull request #194 from ahmadia/ahmadia/mathjax_same_as_ipython

Use the same MathJaX configuration as IPython