added a comma after result: true in chat_server.js