Removes IE8 incompatibilities from event fixer.
Fixes IE8 stack overflow from deep copy of objects.
Fixes IE8 undefined exception.
Implements indexOf, because not supported by IE8.