Removed functions which are already implemented in functions.js and included that file as a background script into manifest.json