            }
            }
        );

        $("#threshold-slider").slider({
                max: 80,
                min: 2,
                step: 1,
                value: 30,
                change: function (event, ui) {
                    if (event.originalEvent) {
                        jukeboxData.currentThreshold = ui.value;
                        drawVisualization();
                    }
                },

                slide: function (event, ui) {
                    if (event.originalE