basic node.js prototype