Mostly works for IE8.