A tiny, modular library that can add chaining to any API that isn’t naturally chainable, like the Canvas API, the DOM and more.
chainingmethodprototypeJavaScriptChainvascanvas
http://leaverou.github.com/chainvas/