Handle ajax errors for location fetching, issue #7.