fit for require.js