New Update
Check out this collection of Java Scripts tips to accelerate your Web
applications.
If you are using the same script and it is being used in multiple pages, the
application can be made more efficient by using cache.
Limit yourself to a single document, instead of generating the HTML into lot
of pieces. Load the entire HTML into a string variable and see the difference.