cleaned up require.js