fix linting errors for tcp.unit.spec.js