Adjust to support IE8.