React tutorial working together with require.js