adapt plugin for Elasticsearch 1.3.2
cleanup
Merge pull request #1 from alim-akbashev/master

adapt plugin for Elasticsearch 1.3.2