Create different type of barcodes with jQuery