var scanner = cordova.require