== Errors in  == 

 The script throws errors when the API is down. It shouldn't. Find the following: 

 var query = eval("(" + x.responseText + ")").query; 

 It should be something like the following instead: 

 var query = eval("(" + x.responseText + ")"); 

 if (!query.query) return false; 
 else query = query.query; 

   · )