adding support for IE8 and below