removed localhost from config.js, added guessing of ES host
Merge pull request #63 from rashidkpc/master

Issue #60