fixes undefined in browser actions and multiple senders in content script to background messaging