fix for ReferenceError: event is not defined
Merge pull request #2 from dgrebenyuk/master

fix for ReferenceError: event is not defined