Node-elasticsearch-proxy is a project mainly written in JavaScript, it's free.
A proxy to handle, and react to common error conditions raised by the elasticsearch http module.
404: Not Found