script.js: added popup.click, recoverSite