An implementation of the pagerank algorithm in Node.js