Replace LaTeX images with MathJax