little refactoring for techs/deps.js:forEach