format require.js