Binds a (anonymous) function to be executed when the DOM has finished loading. Similar to $( document ).ready() Reference.