Cleanup background.js
Revert "Cleanup background.js"

This reverts commit a013c34ffe08d71038daf9d00e6c27f1b7e8a8b4.