IE8 fixes, mostly NS stuff.