Pull request per your request - fix for issues #147, 148

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