Switch game generation to ajax

until I can figure out a way to get the session into Publisher.