Changed the workings of the servlet - there is seperate ajax call for each feed address so no looping over all addresses.Also changed varible and method names for better readbility.