added browser.js - to hold random functions for browser.