Hack fixes after IE10 testing