It would be fun if someone made a game with this for the
NANY 2008 challenge.
Scott Porter made a popular library for creating Javascript Games, called the Javascript Gamelib. It provided relatively simple routines for animation, sprites, collision detection and control. It meant games programmers could concentrate on designing games for websites instead of spending time rewriting the basic building blocks.
from http://www.veign.com/blog/