Moving jQuery datetimepicker stuff to core