barcode js logic started