Refactored debug toolbar to use plain javascript #7400

This would kill all existing cookies, potentially including the session and backend login information (see file:///Users/aschempp/Library/Application%20Support/Dash/DocSets/JavaScript/JavaScript.docset/Contents/Resources/Documents/developer.mozilla.org/en-US/docs/Web/API/document-191.html)