fix rspec deprecations
MutationObserver instead of MutationEvent. Closes #1