Rebuild of JS and docs.
Updated build script.