extract game page logic from game
move display logic test from game to game_page
add glue code in new_goal html