implemented limited support for ie8