 
         # create and add each button to buttons container
         for button, i in settings.buttons
-          console.log button
           $buttons.append("<a href='#' data-trigger='webconsole:#{button}' data-toggle='tooltip' title='#{settings[button+'Text']}'><i class='#{settings[button+'Icon']}'/></a>")
 
     # add webconsole holder to container

    })

  @reload= () ->
    console.log 'reload'
    @load(true)

  @load= (reload=false) ->
    if @loaded && reload==false
      console.log 'alredy loaded'
      return

    # bind this to self


      # create a container div for help text and show it
      $helpContent = $("<div class='#{settings.helpCssClass}-content'></div>").appendTo($helpContainer)

      # open help container unless already seen  
      $helpContainer.animate({width:'toggle'},'400px') unless webconsoleHelpSeen
        
      # set help button to active
      $('[data-trigger="webconsole:help"]').addClass('active')

