AJAX functionality for buttons and comments, mailer