Upgraded DatePicker to a jQueryComponent for better flexibility.
Minor cleanup in Select2.