Initial fixes for IE8.