jQuery like deferred system implemented with node js EventEmitter