clean up mathjax-dynamic.html template