Updated todo example for require.js