Making the default battle aftermath use the dim background

Note: I am using Yanfly's Battle Engine Core.

I'm curious if there is a way to make the default battle victory/defeat aftermath use the 'dim' background instead of using the window. There's probably a way in the one of the core .js files, but I'm little apprehensive to go digging with my lack of JS knowledge. Hopefully it's a simply change that doesn't require a plugin.
Inside rpg_managers find a function called BattleManager.displayVictoryMessage and replace it with code below.
Code:
BattleManager.displayVictoryMessage = function() {
    $gameMessage._background = 1
    $gameMessage.add(TextManager.victory.format($gameParty.name()));
};
Beautiful. Thanks for the fast reply.

I also have another related request. On events that give experience points and are tagged to show the level-up message, how do I get that message to have a dim background as well?
rpg_objects
Code:
Game_Actor.prototype.displayLevelUp = function(newSkills) {
    var text = TextManager.levelUp.format(this._name, TextManager.level, this._level);
    $gameMessage.newPage();
    $gameMessage._background = 1
    $gameMessage.add(text);
    newSkills.forEach(function(skill) {
        $gameMessage._background = 1
        $gameMessage.add(TextManager.obtainSkill.format(skill.name));
    });
};
Poryg, you are awesome!

Original thread: https://forums.rpgmakerweb.com/threads/making-the-default-battle-aftermath-use-the-dim-background.85584/