added support for ie8