correct deprecated node.js cartridge

The code used in previous version of the node.js cartridge was deprecated and this minor commit correct the problem.