Remove MathJax and move eqn images to images directory