just a javascript chat client with a nodejs server using long polling