Fix IE8 event handlers
Merge pull request #7 from Coornail/fix/ie-8-eventhandlers

Fix IE8 event handlers