added support for IE