Hacking around node.js, trying to make it do what I want it to