fixed javascript datepicker for seeds