updates initial document and adds param for ipad user agent for document height