move content generators to content.js from background.js