Added feature detection for IE 11 and missing selection object.