removed mathjax-renderer onkeyup, fixing popstate implementation