Fixed #1287: Add URL global to the browser environment
Fixed #1298: Add data/ directory to the NPM package whitelist

Signed-off-by: Anton Kovalyov <anton@kovalyov.net>
README.md: remove unneeded spaces.
Fix bin/build path check.
Remove extra new lines.
tests: normalize whitespace.
Update dependencies.