Properly extending EventEmitter in node.js

Properly extending EventEmitter in node.js

read a good example at
http://opensourcejason.info/2013/10/08/properly-extending-eventemitter-in-node-js/