jQuery,Java-MultiThreading