tweaks and node.js additions