More r.js compatible shim wrapping
Generate exports when wrapping shim if such were provided