Bug fix in server.js

- hostId was array instead of a string
- removed empty players; expression after {