Use array_replace() alternative for PHP 5.2
Re-add setting for enable/disable datepicker
Error checking in DateUtilities