Updated datepicker to actually pass in options