Ensuring thumbnails of defined backgrounds show

[#59778098] My previous solution was getting overridden by javascript. Here I redo it in javascript: if there's an `annotated_image_url`, we use that for the thumbnail, but if not (and `image_url` does exist) we use `image_url`.

https://www.pivotaltracker.com/story/show/59778098