Updating Braintree widget with form calculation