Cleaner managing of mathjax dependency