websocket play term
chat.js term.write()