Updated managers to be compatible with require.js.