Add a transform for global code to CommonJS.