simple chat program written in nodejs