Save and restore HTML game.