Added JavaScript Date Validation