add cordova and phonegap references