(#1921) - returnDocs in the browser