add the some js to auto display errors in ajax forms.