removed deprecated method. Started upgrade to Cordova 3.1