Changed 

from 

```coffee
 if xhr.status.toString().match(/^40/)
```
to

```coffee
 if xhr.status.toString().match(/^4/)
```