broke datepicker
fixed some datepickers; added function to make it easier to include