Implemented JQuery to handle message creation / sending to server.