build: add scope.js and path.js to build.json