js error in datepicker