Basic validation

Basic time validation
Minified Javascript