Quick fix for better string handling in Node.js

Addresses issue #23