Change the plugin to operate on an element and update example and README
accordingly.