JS/Node utilities