AMD, CommonJS, and global support