Added chat functionality in index.html script tag.
Refactored chat code into chat.js. Added a blank styles.css.