fixes potential IE8 crash (both toISOString and console.log don't exist)

not that client-side calls this anyways