Fixed wrong detection of click event
Fixed touchend events not being removed when $.off is called
Merge pull request #12 from davidey/master

Fixes on jQuery related portion of the code