If `rDataAttr` is unnecessary as @fb55 suggests, we could use `.slice('data-'.length)` here to avoid a magic number.