fixed youtube initialisation bug, when api is already ready