I\'m using the hosted fields example from braintree:
https://developers.braintreepayments.com/guides/3d-secure/client-side/javascript/v3
Inside their javascrip