Add sample sw script *as* cordova.js