Updated checkout.js