Add the functionality to send and return messages via Ajax

A user can send a message via Ajax and it shows up on the page without a
full page refresh.