Support for IE8
Support for `attachEvent`