Basic chat written in NodeJS