clean code Background.js