Fixed problems with equations with inline tags
Worked in MathJax fully