Update discountbylist.js