dynamic mathjax loading