Update popup.js

attempt to get rid of jQuery dependency