Update barcode_functions.js