removed unnecessary code
changed function for creating Docs
wip: loadTabs