Add Document to browser globals