IE11 support

There are 28 failing assertions in the master branch in IE11.
I did. Thanks. fixed it.