Fixed bug with exporting mathjax.