What is the best JavaScript framework for legacy application development, cross-browser compatibility, and to help in speed loading?

Please tell me what is the best JavaScript framework for legacy application development, cross-browser compatibility, and to help in speed loading?