kingdoms app written in node.js for performance comparison