option hooks, datepickr rewrite