Added debugging for IE.