Changes to support IE10