Fixed javascript for creating new game. Now it redirects to game page. Also fixed javascript on game page and fixed SSE logic.