move from phone gap to cordova