This won't work the way you think you will because of async and scopping.. You'll want to update the `getDeals`'s callback to return responseText, and image.

It's also possible for it to still be undefined, so worth checking for that too.