update for cordova 3.4