dont assume require is defined when setting up cjs loader