Added support for IE9 and IE10.