Update modules/core/foundation/application.js