40%~ faster by avoiding more scoping

Additionally remove more repetitive scoping.

Minor typo fix in bench.js