Merged common.js with EventTarget.js, some fixes for IE8
Fixed crappy IE8 event handling