This needs to be changed to:

```javascript
 if ( resp.status === 404 ) {
```

puhhleeeeezzze!