now using require.js