Basic elastic search data explorer in node.js