JavaScript validators: presence validator and stub others