why do you use ```.attr("data-url", ...``` instead of jQuery function for data ```.data("url", ...``` ?
https://api.jquery.com/jQuery.data/