separate procedure for single build.js