Javascript validating dates from a form dating vaba armastus ee