Removed erb elements from browser.js so it is stand-alone.  More move code.