ie removeAllRanges test fix