Moved documents loading into function to provide module-only compatibility
Added HTML document for DOM Adpters testing