Create barcodescanner.js