Use mathjaxUrl option instead of assuming external directory for MathJax.