Add es host and port attributes to config.js template.