Don't define textContent in browsers which don't support it
Cleanly remove classes to fix bug where updating while an animation was in progress would cause a glitch.  Fixes #24.  Fixes #15.