fixing jquery-ui bug where datepicker wasn't loading properly.