Simpler d.readyState usage.