moved datepicker js into the admin js file