Periodic social index with node.js