move BrowserDetect into a utils class, change to createjs.BrowserDetect