Minor changes for IE8 support.