Moved MathJax configuration to js/background.js

Moved MathJax configuration to js/background.js, to make customization of
LaTeX output easier.