IE11 support

There are 28 failing assertions in the master branch in IE11.
Oh nice! Then I like this magical solution.