use MathJAX
replace badly done math in HTML5 with LaTeX math