Create elasticclient.js