main.js renamed to ChatApp.js
Minor changes