reformulate Brocfile.js and build output