getDocumentBase: added warning div where needed