fixed js syntax on barcode