add page event timings

injecting javascript to retrieve timings for onContentLoad and onLoad events.

/cc @clytwynec @jzoldak