javascript library for client-side encryption with braintree