Fix Offer Index JS error