               deleteEdge(jukeboxData.selectedCurve.edge);
                jukeboxData.selectedCurve = null;
                drawVisualization();
            }
        }

        if (evt.which == 37) {  // left arrow
            evt.preventDefault();
            var inc = driver.getIncr();
            driver.setIncr(inc - 1);
        }

        if (evt.which == 38) {  // up arrow
            driver.setIncr(1);
            evt.preventDefault();
        }

        if (evt.which == 40) {  // down arrow
       