new format, compatible with cordova.require