not sure it it's worth shorting this to `dateISO = function( dateValue, withTime ) { ` with some var renaming too