fix EventEmitter.js compatibility issues.

EventEmitter checks for requirejs and exposes via define() if it is available. Let's just remove that.