Minor improvement and syntax fix

Improvement:  Reduce unneeded array elements returned by regular
expression execution    (affecting non-native 'setISO8601'
only).General:  Properly end function attribution declaration
(minor syntax issue which might trigger errors in code minifiers and/or
validators).