do it with require.js