added jquery validator