As a suggestion, it would be nice to use the image_url attribute to display credit card images

https://developers.braintreepayments...card#image_url