Here is some resource that related to how to improve the JQuery code performance.
http://net.tutsplus.com/tutorials/javascript-ajax/10-ways-to-instantly-increase-your-jquery-performance/
http://www.artzstudio.com/2009/04/jquery-performance-rules/