updates JS for quick look event, purchase flow