Make it work as an npm package again

Updated package.json to refer to dist/elastic.js instead of the non-existant ./elastic.js