Fixing IE9 and IE10. Not sure yet if this fixes IE8.