IE8 cleanup: toISOString shim, https image refs, img border