`$node = $nodes.eq( index );` can be replaced by `$node = $( this );`, so $nodes is not necessary in this context.