added IE8 support (hopefully?)