content-worker.js is executed in a (content?) context where require() is not defined, so can't use those..