Added support for SCRIPT_DEBUG (toggle .min) and removed 'jquery-ui-datepicker' JS from core

Signed-off-by: Elliot Condon <e@elliotcondon.com>