add IE8 compatibility