I want to build a couple of simple games for a clients web site.

I am looking for a book on the subject, anyone know of such a beast?