README describes new npm scripts.
Cleaning variable scopes.