updated the background.js and window.html