Add MathJax and fix #52