Fix eventType being deleted from wrong object
Add regression test for @wilsonpage's fix (event listener should be rebound after last event is removed and new events are added) in pull request #10
Merge pull request #1 from matthew-andrews/patch-1

Add regression test for @wilsonpage's fix
Merge pull request #10 from wilsonpage/patch-1

[Fix] eventType key being deleted from wrong object