shifting of fixed var into config.js. shifting of chrome environment specific function calls into chrome.js wrapper to provider environmental independence