Remove jQuery dependency in browser.js and detection for ie7