Please move this into a script too, this is needed in cordova-incl.js: https://github.com/mozilla-cordova/cordova-mobile-spec/blob/mozilla-dev/cordova-incl.js#L49