Cache array length outside for statement

Performance win may be minimal, but it’s there.
Minify changes from 6879d96
Merge branch 'master' into lengthening

* master:
  Fix global variable declaration in custom sort test
  Namespace click event

Conflicts:
	stupidtable.min.js
Merge pull request #91 from reefdog/lengthening

Cache array length outside for statement