Added support for IE8