This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
After skimming through your code, which actually required a lot of effort, I could only see that you are using ajax already and that to pretty fine. If this is your code then please rephrase the question, else please quote the source and place your question clearly