Support AMD and global variable module styles as well as CommonJS