Observed function handling between backgrouns.js and content.js