Check if your code is running on IE, and what version you're running from.