Create background.js for chrome app