Modified barcode js, added job api & adapted index code