Switching the content script to use window.onmessage.
This works around the bug in Chrome preventing communication via events.
https://code.google.com/p/chromium/issues/detail?id=260378