Update buy.js