Message sending works except for jQuery AJAX POST.