Small speedup for td search
We need to find the 'td' elements from that row. Old code checked all 'td's, and matched them to that row,
while this code finds the 'td's in the row.
On (really) large tables this also stops a stack-size problem:

    Uncaught RangeError: Maximum call stack size exceeded