`===` for starters

second, `rows` should have a `$` at the start (`$rows`) since it contains a jQuery object

third, you're doing this crazy loop just so you can get the index of a single element. simplify!

```js
reorderGame(slug, $('.curation-table tbody .curation-entry[data-slug="' + slug + '"]').index());
```

that should give you something pretty close to what you're looking for.