Add better init readyState handling