Harmonize document ready calls