Google Closure Compiler in advanced mode does.