Added basic MathJax support and augmented user guide accordingly.

second try at a clean pull request for this (MathJax support for html5 and xhmtl11 backends).