Simple Chat Client using JQuery AJAX to relay messages