Bug reproduction for braintree.js