added IE8 support