add braintree view to backend and load braintree.js in backend