Update csg.js for light.js fix
CSG patching logic should load after CSG

This is a hack; should really just be using RequireJS shims support
to specify explicit deps.
Parameterize what we produce.