Make work for IE8 and IE9