Make katex always clean up after itself

Summary: This makes it more annoying to use locally, because it goes
away when you type something bad, but is much more useful in use in
khan-exercises and perseus.

Auditors: alpert