Rewrote delete to use elasticsearch-js.