Change popup.js

Remove unnecessary code