Transform Require.js module to use simplified CommonJS wrapper