A MathJax extension for inserting images in TeX input