fixed eventEmitter bug that didn't allow two ajax requests