Please help me to do a chat or post in javascript