removed viewmode from browser.js