began implementation to populate the chat record on page using pure
AJAX. Also did some cleanup