JS lib for handling ElasticSearch completion suggestions