add datepicker directive using jQuery UI, see #7