Datepicker: Remove unnecessary global variable now that we don't use inline event handlers anymore.