$(function() {
    var issueData;
    $.ajax({
        url: 'http://www.chickendinner.com/issues.json',
        dataType: 'json',
        success: function(data){
            issueData = data;
            var availableTags = [
                "ActionScript",
                "AppleScript",
                "Asp",
                "BASIC",
                "C",
                "C++",
                "Clojure",
                "COBOL",
                "ColdFusion",
                "Erlang",
                "Fortran",
                "Groovy",
                "Haskell",
                "Java",
                "JavaScript",
                "Lisp",
                "Perl",
                "PHP",
                "Python",
                "Ruby",
                "Scala",
                "Scheme"
            ];

            for (var i in data) {
                for (var j in data[i]) {
                    availableTags.push(i + ' ' + j);
                }
            }

            $( "#keyword" ).autocomplete({
                source: availableTags,
                select: function(event, ui) {
                    console.log(ui.item.value);
                    var value = ui.item.value;
                    if (value.search(' ') != -1) {
                        var className = value.substr(0, value.search(' '));
                        var make = value.substr(value.search(' ') + 1);
                        if (issueData[className] && issueData[className][make]) {
                            $('#huge-map').html('');
                            map = d3.select("#huge-map").append("svg")
                                .attr("width", width)
                                .attr("height", height);

                            map.append("rect")
                                .attr("class", "background")
                                .attr("width", width)
                                .attr("height", height)
                                .on("click", mapClick);

                            legend = d3.select("#huge-map").append("svg")
                                .attr("id", "legend")
                                .attr("width", "100%")
                                .attr("height", 50);

                            g = map.append("g");

                            vehicleCounts = d3.map();
                            queue().defer(d3.json, "us.json")
                                .defer(d3.csv, "cyclemake.php?class=" + className + "&make=" + make, function(d) { vehicleCounts.set(d.zip, +d.data); })
                                .await(ready);
                        }
                    }
                }
            });
        }
    });
});

@@ -58,37 +58,8 @@
 l: '
-http://www.chickendinner.com/
 issu

Fix url.