Simple JS chat client with Node.js on the back