change node.js encoding to utf8
remove string impl, add support for node-webkit