0.0.6
refactor chat.js