Update popup.js

Prep for getHtmlContent