updates to popup.js, added options page to manifest