better CommonJS shim