Node.js: Bugfixes for package creation and parsing