Fix MathJax in the master branch

It was causing issues with the PreferencesAPI hooks (and I still don't know why).