```
html5Local = $('li.courseware-unit[data-locator="' + data.location + '"] .popup #local');
if (data.html5Local.length = 0) {
  html5Local.removeClass().addClass('icon-thumbs-down icon-large');
}
```