node.js version of verdict