For reference, check out how I did `node::SetupBufferJS()` in `src/node_buffer.cc` and how it gets called in `lib/buffer.js`. That is going to be the fastest way for this to happen.