editied few ajax validations