elasticsearch/elasticsearch-js — pull request #51 by c089 (2014-02-17 16:10:10+00:00)
Title: do not mutate incoming params object

I stumbled over this when I tried to reuse a `{index: "myIndex"}` object and the second request failed because the index was missing.

There are some `delete` calls in `client_action.js` which maybe should be replaced by building new objects, but for now this should do.