You have to see this to believe it. Great script. It's that little peg game where you jump over one to remove it. Remember that game? Here it is in JavaScript.
See it Action
Grab the Zip file with all the images and the Script