Fixed to use NanNew<String>() for constructing Strings.