var onEvent = function()

in src/windows/NotificationProxy.js [250:261]


        var onEvent = function () {
            if (count > 0) {
                snd.play();
            } else {
                snd.removeEventListener('ended', onEvent);
                snd = null;
                if (winX) {
                    winX(); // notification.js just sends null, but this is future friendly
                }
            }
            count--;
        };