Modularized with require.js