Added support for IE 8