Created app/assets/javascript/card.js