apply require.js