Make small changes to popup.js