Move background.js into js/ file