set config options before require.js reference using global require var