#1 pass browser event to callback function