Changes to support IE.