added cordova.js to access camera