store `resp[el.getAttribute('data-new-url')]` in a `var` (used twice)