A simple chatroom server in NodeJS