Updated emitter.js: Changed unhandled error type

I have no clue why I used a TypeError there.
It's an Error now.
Version 1.2.0 -> 1.3.0