Create isDate.js