We should remove code supporting IE 6-9 from jquery.textSelection.js. We do not ship JavaScript to these browsers anymore.
The string IE appears in the source code 24 times, and most of these refer to IE 6 (as that was the only IE that mattered when this code was written).
We can probably remove like half of that file. We have to do it carefully though, so as to not remove any workarounds for more recent IEs.