Allow undefined http response codes without breaking the app

While testing an internal api I use at work one of the responses returned an http response code that was not defined in `js/httpstatuscodes.js` and so threw and error and broke the whole app. This pull request is just to check whether the status code is defined before trying to access its attributes. The default detail and name could probably be improved but it works!

Thanks for the great app, it's awesome!