No more window.setinterval() on popup.js