improved error output and implemented clearHistory()
load script shortcut, todo: implement requirejs
improved history and style output