Compatibility with elasticsearchclient v0.3+

ID handling in updates changed in the nodejs elasticsearchclient library recently. This fix makes it compatible, but is not compatible with 0.2 anymore.

Please be sure to `npm install -d` to get the update to the elasticsearchclient module when taking in this fix.