Changed the timeout after that the navigation timing info is send to 10ms.
Changed the onLoad object from document to window, on some browsers the
load event is only on window object fired.