ie removeAllRanges fix