Fixed Cordova-JS