replace datepicker init code with a dependency on new js module for #29