prototype of node.js library for hpit