Fix IE8, IE9 issues