used moment.js to validate birthdate