Halfhearted attempt at fixing globals in Node.