Refresh all ads if no params

We have this new refresh function but it relies on specific data about each ad being passed in. Is there a specific reason for this?

In image galleries at the moment, nothing is being passed which has led to a lot of errors hitting trackJS. This fixes that but if it should be done a different way I'd like to know.