Minor Fix

- Moved document click event out of plugin loop.
Merge pull request #17 from chrishumboldt/dev-chris

Minor Fix