utilities for node.js