ajax form is working well so far, and JavaScript validations have been added