moving to require.js