anchor.diff:      </div>
       <div class="page-header">
         <h3>
  -        Spendings in <span id="yearspan">2017</span>: <span id="total"></span> €
  -        <div class="dropdown pull-right">
  -          <a class="btn btn-secondary btn-default dropdown-toggle" data-toggle="dropdown" href="#">Year<b class="caret"></b></a>
  +        Spendings in 
  +        <div class="dropdown" style="display: inline-block">
  +          <a id="yearspan" class="btn btn-secondary btn-default dropdown-toggle" data-toggle="dropdown" href="#"><%= current_year %><b class="caret"></b></a>
           
             <ul class="dropdown-menu" id="year-selection">
  -            <% [2015,2016,2017].each do |year| %>
  +            <% available_years.each do |year| %>
                 <li><a data-year=<%= year %> href="#"> <%= year%></a></li>
               <% end %>
             </ul>
           </div>
  -
  -        <div class="dropdown pull-right">
  -          <a class="btn btn-secondary btn-default dropdown-toggle" data-toggle="dropdown" href="#">Chart Type <b class="caret"></b></a>
  -
  -          <ul class="dropdown-menu" id="chart-selection">
  -            <li><a data-charttype="line" href="#">line</a></li>
  -            <li><a data-charttype="spline" href="#">spline</a></li>
  -            <li><a data-charttype="step" href="#">step</a></li>
  -            <li><a data-charttype="area" href="#">area</a></li>
  -            <li><a data-charttype="area-spline" href="#">area-spline</a></li>
  -            <li><a data-charttype="area-step" href="#">area-step</a></li>
  -            <li><a data-charttype="bar" href="#">bar</a></li>
  -            <li><a data-charttype="scatter" href="#">scatter</a></li>
  -            <li><a data-charttype="pie" href="#">pie</a></li>
  -            <li><a data-charttype="donut" href="#">donut</a></li>
  -            <li><a data-charttype="gauge" href="#">gauge</a></li>
  -          </ul>
  -        </div>
  -        
  +        : <span id="total"></span> €
         </h3>
       </div>
       <div class="row">
  
positive.code:     url = yearOverviewUrl;
      if (year != 0) {
        url += "?year=" + year;
      }
      $.getJSON(url, function(data) {
        parseData(data);
  
negative.code:   $(function() {
      loadYear(0);
  
      $("#month-selection>li>a").click(function(event) {
        event.preventDefault();
        var month = event.target.dataset.month;
  