Although I just noticed for the some to actually work, we need a return value... So should be refactored too:

```JavaScript
resp.popularOnward.some(function(trail) {
    if(!isInHistory(trail.url)) {
        upgradeTrail(trail.url);
            return true;
    } else {
        return false;
    }
});
```