fixed the problem with require.js.