Fixed tests to be compatible with IE10
Merge branch 'master' into gh-pages