Added cordova javascript