Update to be compliant with Cordova 2.7