adding cordova.require fake wrapper