Javascript minimalist EventEmitter.