A (Browser) Range implementation / wrapper, extracted from Annotator