Allow MathJax root to be configured. Resolves issue #1403 (closed).
The best way to set the root is to use
<script>
MathJax = {root:"http://myhost.net/mathjax"};
</script>
<script src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML"></script>
so that the configuration file will be loaded from the correct location as well. Otherwise, you can use
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
root:"http://myhost.net/mathjax",
config: ["TeX-AMS_HTML.js"]
});
</script>
<script src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>