Load MathJax and replace math image files