code: function createRange(desc) {
    var fields = ['exact', 'offset', 'selector'];
    utils.check(fields, desc);
    return { exact: desc.exact, offset: desc.offset, selector: desc.selector};
  }
docs: validates and creates an annotation range