A simple and lightweight (~ 16 KB) JS console imitation. Check it out
Check out the wiki
<html>
<head>
<script src="webcommander.js"></script>
</head>
</html>
Add a DIV element where you want the console.
<div id="console"></div>
Use this JS code to create a new console within the previously created DIV element.
var myConsole = new WebCommander('console');