put datepicker js into own file