tests: In node publish.js, remove unused require imports.