test require.js for managing dependencies