basically anywhere you are using a `::New()` for a V8 type you'll need to replace it with `NanNew`, in this instance `NanNew<v8::Array>(result.size())` I think would do the trick.