basket.js

A script and resource loader for caching & loading scripts with localStorage

scriptloadinglocalStorage

http://addyosmani.github.com/basket.js