Added support for IE (version 10 at least)