initial commit popup.js demo