Use performance.timing for already ready detection

Added another condition that detects that the DOMContentLoaded event has fired already, much more reliably, using the standard performance.timing.domContentLoadedStart property, which value is 0 until the even actually occurs.