Mathjax register_js fix