Fix pagebundle

 * ownerDocument is null on document. We used to be passing either body
   or documentElement, but now it's the doc.

Change-Id: I5eb495454bfbec0b7566a7cc717b3e39e9fb8515