Fixes cordova plugins global reference