A fork of Jan Järfalk's plugin of the same name from http://www.unwrongest.com/projects/elastic/