letting clients pass in an element itself rather than relying on an id
Merge pull request #199 from cesine/brainhack

letting clients pass in an element itself rather than relying on an id