modded background.js
merged