Add AJAX for sending message when applying.