Added a forgotten comma
Added an error message if the getJSON request fails due to network or syntax error.