change from cordova to phonegap