JSHinted popup.js