Hooking up datepicker