few modifictaion ot manual barcode.js