A JavaScript implementation of a set of playing cards