tonibiocic/jquery-thead — comment on commit 40ca6b8542ed455e18d4f5f576b5bfc108996761
File:  line 0
By marc-mabe:

This check isn't needed BUT the block complete block have to be executed AFTER registering the plugin.

Also on using jquery 1.7 you get an js-error "$('.jquery-thead').thead isn't a function" because it will be executed before register.