Form errors - Javascript validation - amended notes