Added support for IE10 and Opera 21