Added javascript for chat.html
Resolving conflict