Added IE conditionals and compatibility fix.