Fixes for IE8.