small change fix big bugs: e.currentTarget instead of e.target
reverted back to e.target in document event handlers
Merge pull request #39 from Leon-G/master

fixed click handler: e.currentTarget instead of e.target