PortalKit: update part of build.js