require.js alike work