some DRY stuff on game/index.html.haml