As noted before this will also work for IE 11. If you want IE 11 to work using the new APIs you'll need to swap the order of the blocks.