add chatclient.js
merged