Updates to Barcode Scanner plugin for registry with Cordova