If DOM is already ready then call domready handler immediately (and not
to use onload event).