Configure MathJax using require.js

This was originally being included from `common/templates/mathjax_include.html`. This is a nicer way of including the MathJax configuration.