Fixed compatibility with IE 10.