adjust document ready