x of y document ready