Migrating from checkout.js to the PayPal JS SDK