popup.js specific to chrome