Proper require statement to ensure require.js loading order