Fix global leak in tests.

Mocha was being annoying.
Add test-browser script using Zuul.
Upgrade JSHint and fix JSHint errors.
Upgrade other dev dependencies.