when user cancels selection, do not call success callback

When user cancels a selection in the datepicker plugin, the success callback is called with "cancel". This causes the resulting date to be NaN. With this pull request the success callback is not called.