Datepicker plugin working