Backport PR #6273: Upgrade default mathjax version.

This also fixes an issue with ```from IPython.external import mathjax; mathjax.install_mathjax()``` not working properly, because of a changed version schema.