First draft on require.js