A deck of cards written in javascript and some helpers for game-playing