Added A Custom Event Emitter implementation
Added a dummy implementation of require
compatible with requirejs