Fix debug log in IE.