Currently, each time we’re adding a JS library, we’re adding a new resource (so a new HTTP request). We might want to combine all of our JS file into a single one and we could use jsmin-php for that ( http://stackoverflow.com/questions/868857/combining-and-compressing-multiple-javascript-files-in-php )
We could also cache the generated file to avoid impacting the process time.