It works as an local proxy server, and it profiles JavaScript in Ajax applications. After profiling, Doloto groups JavaScripy functions as clusters based on profiled data. And rewrite original JavaScript code to load functions on demand using XMLHttpRequest.
Doloto is very simple and easy to use. It makes lazy loading of JavaScript with no changes of your applications.