updated to cordova 3.x