ejs / elasticsearch-js cleanup

have fixed jshint errors that showed up in the build & addressed the two remaining uses of ejs.client
(loading of a dashboard from elasticsearch & getting the field mapping)