same:

var youtubeServer = $('li.courseware-unit[data-locator="' + data.location + '"] .popup #remote');
if (!data.youtube_server) {
  youtubeServer.removeClass().addClass('icon-thumbs-down icon-large');
 }
```