IE11 support

There are 28 failing assertions in the master branch in IE11.
OK, cool. So we can just fix the little compatibility issues as they crop up, then.