Handling error responses for the JS SDK Facebook login.