My Fork of barcode writer in pure JS