Tried using APIs miserably.  Cannot get JSON data from js.  Added buttons and query into index.jade.