   """
 
 renderResponse = (root)->
-  {data, uri} = bang
-  header = root.append("div").attr("class", "panel-heading").html("Response from <code>#{uri}</code> stored into bang.data")
-  root.append("div").attr("class", "panel-body").append("pre").text(JSON.stringify(data, null, 4))
+  header = root.append("div").attr("class", "panel-heading").html("Response from <code>#{bangUri}</code> stored into bang")
+  root.append("div").attr("class", "panel-body").append("pre").text(JSON.stringify(bang, null, 4))
 
 renderQuery = (root)->
   root.append("div").attr("class", "panel-heading").text("Query")
   renderQueryForm root.append("div").attr("class", "panel-body")
-
-renderResult = (root)->
-  root.append("div").attr("class", "panel-heading").text("Result")
-  root.append("div").attr("class", "panel-body").append("pre").attr("id", "queryResult")
 
 renderNavigator = (root)->
   root.append("div").attr("class", "panel-heading").text("Response Navigator")
   panelBody = root.append("div").attr("class", "panel-body")
   panelBody.append("ul").attr("class", "breadcrumb")
   panelBody.append("div").attr("class", "form-inline")
-  panelBody.append("pre")
+  panelBody.append("pre").style("display", "none")
   root.append("ul").attr("class", "list-group")
   root.append("table").attr("class", "table")
-  updateNavigator ["bang.data"]
+  updateNavigator ["bang"]
 
 didRunQuery = ->
   query = $("#query").val()
-  runQuery query
+  navigator = d3.select("#navigatorPanel .breadcrumb").text ""
+  arrayNavigatior = d3.select("#navigatorPanel .form-inline").text ""
+  autocomplete = d3.select("#navigatorPanel .list-group").text ""
+  autocompleteTable = d3.select("#navigatorPanel table").text ""
+  codeBlock = d3.select("#navigatorPanel pre").style("display", "none").text ""
+  { error, result } = runQuery query
+  if error
+    codeBlock.text error
+  else
+    queryResult = result
+    updateNavigator ["queryResult"]
 
-runQuery = (query)->
+runQuery = (query, options)->
   try
-    $("#query").val query
+    unless options and options.silent
+      $("#query").val query
     result = eval query
     if result is undefined
-      $("#queryResult").text "(undefined)"
       return {error: "(undefined)"}
     else
-      $("#queryResult").text JSON.stringify(result, null, 4)
       return {result}
   catch ex
-    $("#queryResult").text ex
     return {error: ex}
 
 updateNavigator = (path)->

  </div>
</div>
""")
  if bang.data instanceof Array
    $("#query").val("_.size(bang.dat)")
  else
    $("#query").val("_.keys(bang.data)")

  $("#runQuery").click didRunQuery


    return unless document.body && (document.body.childNodes[0] && document.body.childNodes[0].tagName == "PRE" || document.body.children.length == 0)
    data = if document.body.children.length then $("pre").text() else document.body
    return unless data
    bang = JSON.parse data
    bangUri = document.location.href
  catch ex
    console.warn "Document not valid json, bang will not work: #{ex}"
  console.warn "Bang can't work on HTML and XML pages"
