Form submission ajax and alert boxes are done