Issue #1684816 by nod_: JSHint tableselect.js.

PR for http://drupal.org/node/1684816