Crash in gameViewModel when gameId is an array
When responding to the connectToGame event, the socketIO packet parses the gameId and playerId values as single member arrays. When gameId is passsed to getGame as an array, I was seeing a crash in gameViewModel because the return value was undefined and was being passed to JSON.stringify.