Create popup.js

The real action happens here ;-)