safer handling in case the fanclub service yields no response

Hi folks. This adds some extra checks so the JS code doesn't fail if the fanclub service yields no response. In my consuming project. this allowed more of of my page to function even though I can't access the API server when running locally.