I vaguely recall that someone came up with a solution to this problem, but I cannot let my life remember the name of the library. The main idea is that by loading one small library at the top of the page, you can get an advantage in rendering speed when loading other scripts at the bottom of the page, having the ability to queue the functions that will be executed when the DOM is ready. Thanks
source
share