Some node.js helpers