Using eventdispatcher.js and also add LICENSE