IE11 support

There are 28 failing assertions in the master branch in IE11.
In any case, this isn't related to this branch. I'll fix it in a different one.