Use MathJax.Hub.config.preRemoveClass=null to avoid some failures.