move mathjax to head