node event emitter exemples from preofessional node