Zipf Distribution Generation for Node.js