made settler amd, cjs, and globals compatible the same way underscore does it