refactor .getJSON() callback
change error handling to treat non-404s as fatals