That would be cool. Is it possible to detect memory leaks directly from JavaScript?