I suspect you don't actually need `data` attributes for this:

```javascript
function inputs(resetButton) {
  return $(':checked', resetButton.parent());
}

$('.reset-button').click(function () {
  inputs($(this)).prop('checked', false);
});
```