Removing unused functions.
Removing old variable definition.
Adding undefined variables for required modules.
Declaring variables, not just defining them.
Declaring variables before defining and using them.
Declaring and defining variable so it can be referenced from skipped test.
Moving helper functions towards bottom; declaring their variables at top.
Enabling undef lint check; Turning on mocha mode.
Missed moving a couple of variable declarations to top of file.
Merge pull request #373 from ycombinator/gh-360/undef

Enabling undef lint check