Added success and error functions to the contact form AJAX call