AUI-1377 Fix exception in IE8 when simulating clicks on doc