Created a PhpStorm project.
Also added JSDoc comments to chat.js
Added a "People in room" list in the sidebar.
Added room contact handlers to chat.js
Moved all HTML element creation to html-objects.js