A small framework for JS games.