You don't have to do this, but I'm going to give you my two cents on this for the future. For functions like this that perform asynchronous behavior that might fail, I like to return a promise. So for this, I'd do:

```js
function delBoard(game, slug) {
    return requests.del(/* ... */).then(/* ... */).promise();
}
```

Then when you use it, you can safely handle the error case:

```js
$board.hide();
delBoard(gameSlug, boardSlug).then(function() {
    $board.remove();
}, function() {
    $board.show();
});
```

That means that if the network fails or something like that, the user doesn't get into a bad state.