amend main-spec.js of output