$(document).ready(function() {

    var menuUrl = "https://www.bin4burgerlounge.com/our-downtown-menu/";
    $.ajax({
        url: "http://www.corsmirror.com/v1/cors?url=" + menuUrl,
        dataType: "html",
        crossDomain: true,
        success: writeData
    });

    function writeData(data, textStatus, jqXHR) {
        var root = $($.parseHTML(data));
        writeItem(root, "burger");
        writeItem(root, "appy");
        writeItem(root, "feature cocktail");
        writeItem(root, "dessert");
    }

    function writeItem(root, name) {
        var itemElem = root.find(".slide-features .menu-item")
            .filter(function(index, elem) {
                var text = jQuery(elem).find(".item-label").first().text();
                return (text == name);
            }).first();
        name = name.replace(" ","");
        jQuery("#" + name + "_name").text(itemElem.find(".item-title").text());
        jQuery("#" + name + "_price").text(itemElem.find(".item-price").text());
        jQuery("#" + name + "_description").text(itemElem.find("p").text());
    }

});

$(document).ready(function() {

    var menuUrl = "https://www.bin4burgerlounge.com/our-downtown-menu/";
    $.ajax({
        url: "https://cors-anywhere.herokuapp.com/" + menuUrl,
        dataType: "html",
        crossDomain: true,
        success: writeData
    });

    function writeData(data, textStatus, jqXHR) {
        var root = $($.parseHTML(data));
        writeItem(root, "burger");
        writeItem(root, "appy");
        writeItem(root, "feature cocktail");
        writeItem(root, "dessert");
    }

    function writeItem(root, name) {
        var itemElem = root.find(".slide-features .menu-item")
            .filter(function(index, elem) {
                var text = jQuery(elem).find(".item-label").first().text();
                return (text == name);
            }).first();
        name = name.replace(" ","");
        jQuery("#" + name + "_name").text(itemElem.find(".item-title").text());
        jQuery("#" + name + "_price").text(itemElem.find(".item-price").text());
        jQuery("#" + name + "_description").text(itemElem.find("p").text());
    }

});

Revert "Update CORS provider, again..."
Revert "Update CORS provider, again..."

This reverts commit cdd91c9eca4ea4675296e96c8ede6c8f8d7a3236.
