Improve nodejs.jsx

Related to #241, this pull-request adds incremental (compatible) changes to some portions of the node.js binding.