jquery.tablesorter: Limit the scope of two variables

No functional change, but improves readability of the code

Change-Id: If858d198c9ca0e2feb4930f9f94425262f8afbdc
Merge "jquery.tablesorter: Limit the scope of two variables"