bind BrowserDetect to window