Changes for IE10 and IE11