convert to CommonJS