define modules with require.js