Lining Up Table Columns with jQuery

I do not profess to be a JavaScript expert, let alone jQuery. Here is my attempt in writing code that makes tables in a page have their columns lined up.

Use at your own risk. I do not provide any support for this. You have my permission to copy it.