Tweaks to browser.js