Fix #25 and add MathJax to docs