renamed the event handler to prevent it from being called twice
Fixed onClick naming
Merge pull request #42 from gameclosure/fix-click

renamed the event handler to prevent it from being called twice