refactored mathjax to use ModuleLoader