avoiding document ready blink