Update for Cordova 3.0