IE11 support

There are 28 failing assertions in the master branch in IE11.
I hope this is good enough.