saggrigated script and html, added new script file for chat app!