Fix attachEvent on IE11 Windows 8.1
Merge pull request #121 from ronhab/patch-1

Fix attachEvent on IE11 Windows 8.1