Uncommented form validator js