main.js talks to postgresql-http-server and generates <table count> maps