A simple chat client written in Javascript