added cards.js