Changes to background.js