updates for ie 8 compatibility