Create chat.js

Chat.js file for F-Chat 2.0