Is this a new node.js idiom?