convert to using dynamic runtime chrome.permissions API