NodeJS Chat App skeleton code