fix Error tooltip not displayed in a datepicker

It happens when the datepicker is not initialized yet and an invalid value is entered : null is compared to undefined, resetting the DP state
The associated script is empty, no need for this (and remove the corresponding file as well).