Add event-emitter.js

Signed-off-by: suicidepills <atom.mac@gmail.com>