Removed debug statement causing error in IE