Consolidated document ready funcs