add commonjs support