Updated mocha.
Fixed globals export.
Linting. Simplified strict mode usage.