added popup.js template