Don't rely on cookies for chat user name/id
* js/chat.js: read embedded HTML data instead of cookie user name / ID.
* src/chat.php: initialize chat with session, all callers updated. Embed user name / ID in HTML.