Fixed typo in offer.js