Removed dependency on underscore and backbone. Using emitter