More work on WaveJS Chat example.