Base: Added shim for toISOString for IE8 and below

Fixes issue #13