update event.js for chrome tab issue.

Newer versions of Chrome don't send the tab property of sender.
Explicitly creating tab property fixes issue.