    } else {
                insertBestBackwardBranch(type, jukeboxData.currentThreshold, 55);
            }
        }
        calculateReachability(type);
        jukeboxData.lastBranchPoint = findBestLastBeat(type);
        filterOutBadBranches(type, jukeboxData.lastBranchPoint);
        if (jukeboxData.removeSequentialBranches) {
            filterOutSequentialBranches(type);
        }
        setTunedURL();
    }

    function removeDeletedEdges() {
        for (var i = 0; i < jukeboxData.deletedEdges.l