15 Oct 2009 7:19 AM #1
separate it in 2 or many js files to be more lisible or take it in one file.
15 Oct 2009 10:13 AM #2
There are many threads on how to optimize for performance - suggest you start searching. Gzip and compression would be good things to start with.