fixed require.js error