Fix IE10 compatibility issue