Split Braintree initialization function