var events = require('events'); var EventEmitter = new events.EventEmitter();