Elasticsearch Create Index Python Method Syntax In Javascript