Mathjax plugin cleanups.