Only run mathjax once for root editor.

I selectively recovered this from mathjax-streamline. Should help performance. I have no idea if it will break anything.