Modularized game architecture with RequireJS.