This page has just created a deck of cards in JavaScript, outputting them in CSS/HTML with minimal graphics. Play with the controls to see some of the base methods in action.
Follow this project on github.