Demo application using a JavaScript game loop.