cleaned up background.js