Fixes after testing sample WebSocketSyncServer.js