Changed dob/consentDate to strings for a jquery datepicker