Fixed error in Game,
+ moved anonymous listener functions to end of js files