Removes redundant calls to the jQuery datepicker