Fix JS loading issues of jQuery UI Datepicker/Timepicker locale files with alternate names (e.g. name-de.js instead of name-de-DE.js) for date and time fields.