Fix nodejs module support.
Not sure why everything's out of sync with the master. Hopefully this commit doesn't break things.