Thumbnail js: Graceful fail if image does not exist