Node.js all the things

Well all the really weird bugs are fixed.
umm. you're gonna make this a local variable, right?