Ajaxian writes about using.js library created by Jon Davis. It allows for loading javascript files on demand, just before you need it. For more details on this please see Ajaxian and original post by Jon . I'll write about differences in his and ours...