Fixes various Node.js-related bugs.