Changes to barcode js & index