a deck of cards in javascript