added support for IE 8 and older