IE8 attachEvent/detachEvent wrappers

This should get rid of the errors reported by @iamrobert in https://github.com/matthieua/WOW/pull/110#issuecomment-54251316.