replace chrome messaging API

chrome.extension.sendMessage/chrome.extension.onMessage to
chrome.runtime.sendMessage/chrome.runtime.onMessage.