updates JS for quickbuy and quicklook