<% content_for header do %>
  <%= stylesheet_link_tag 'mas/feedback/engine', media: :all %>
  <%= stylesheet_link_tag 'mas/feedback/zenbox', media: :all %>
<% end %>

<%= javascript_include_tag 'mas/feedback/zenbox' %>

<script type="text/javascript">
  if (typeof(Zenbox) !== "undefined") {
    Zenbox.init({
      dropboxID:   "<%= config[I18n.locale][:id] %>",
      url:         "<%= config[I18n.locale][:url] %>",
      tabColor:    "#008000",
      tabTooltip:  "Feedback",
      tabPosition: "Right",
      hide_tab:    "true"
    });
  }
</script>

<% content_for header do %>
  <%= stylesheet_link_tag 'mas/feedback/engine', media: :all %>
  <%= stylesheet_link_tag 'mas/feedback/zenbox', media: :all %>
  <%= javascript_include_tag 'mas/feedback/zenbox' %>
<% end %>

<script type="text/javascript">
  if (typeof(Zenbox) !== "undefined") {
    Zenbox.init({
      dropboxID:   "<%= config[I18n.locale][:id] %>",
      url:         "<%= config[I18n.locale][:url] %>",
      tabColor:    "#008000",
      tabTooltip:  "Feedback",
      tabPosition: "Right",
      hide_tab:    "true"
    });
  }
</script>

Include zenbox.js inside head tag
Include zenbox.js inside head tag

The JS Zenbox implementation is broken and must be included
inside the HTML head tag for it to work properly when more
than one feedback tab is to be present (such as for BP).

@modsognir @gjvis
