Also noticed that you are doing the 'tfoot tr' and 'thead tr' finds for both the zoom button and checkbox.

Recommend combining them all together as follows:

<code>$table.find('thead tr, tfoot tr').append(thZoom);</code>
...
<code>$table.find('thead tr, tfoot tr').prepend(thSelect);</code>

If possible, it would be good to take it even one step further and to cache and reuse the results:

<code>
thead_tfoot_tr = $table.find('thead tr, tfoot tr);
...
thead_tfoot_tr.append(thZoom);
...
thead_tfoot_tr.prepend(thSelect);
</code>

This would save even more clock cycles as long as the append doesn't affect the cached results set (might cause the results to be lost so may be necessary to keep separate finds for the append and prepend).