Made elasticsearch url configurable

So it's not static in config.js
Merge pull request #8 from staegi/master

Made elasticsearch url configurable