validation, jquery fixes