Move scripts/lib to scripts/vendor, update JS dependencies.
Update dependencies.