A JavaScript event emitter which can create facades