Create chat-app.js

client side chat js