Fix #23 click event broken for HTML
Merge pull request #38 from orapouso/fix#23

Fix #23 click event broken for HTML