added popup.html and popup.js
moved popup.js into main.js
using ECMAScript 5 property descriptors instead of object notation