Clean up and update acording to mathjax.org