Made elasticsearch url configurable

So it's not static in config.js