require.js optimization with r.js