Update BarcodeScanner.js