GTNPORTAL-3217

 fix issue where the event object is not properly referenced. Only caused problems on non-webkit browsers.