Braintree.js server and client code wrapped for Meteor