refactored admin javascript, added log stream window