Get the JS code of the current row number of the table