changed cordova reference to phonegap