 TeX: {
      noErrors: { disabled: true },
      noUndefined: { disabled: true },
      equationNumbers: { autoNumber: "AMS" },
      extensions: ["AMSmath.js",
                   "begingroup.js", "color.js", "extpfeil.js", "mhchem.js",
                   "newcommand.js"]
    }
  });

  /* Create the list of locales. */
  var locales = {};
  var i = 0;
  for (l in MathJax.Localization.strings) {
    if (!MathJax.Localization.strings.hasOwnProperty(l)) continue;
    var option = document.createElement('opti