Small game engine for JavaScript canvas element.