Migrating from checkout.js to the PayPal JavaScript SDK