fixed clearTimeout bug
Merge pull request #21 from harconst/master

fix for issue #19