modify background.js for option page