Thanks, Jim.
I'm not sure if its the sort of thing the competition organisers had in mind, but we'll see how well it does.
It's not graphically impressive, nor does it have any music - but it should prove slightly amusing for a few minutes, and getting it to work this well in Javascript should be some sort of achievement.