game ajax refresh works, but it works through horrible horrible inline conditional scripts