Support for cordova 3.6