Dynamically generate a require.config object for the client side #node