Add buffer class to node.js interface