A simple HTML / Javascript text game engine