support for cordova 2.9