OmnitureOnPage: Fix stack overflow for end event