Lots of IE8 fixes