Create OSP_popup.js

This is a port of the original popup.js by Nicolas Hoening that has been configured for use with backbone.js and require.js