JS real date validator