anchor.diff:  
       <% if !Rails.env.production? %>
         <%= javascript_include_tag :cdb %>
  +      <script type="text/javascript"><%= raw Rails.application.assets['statsc.min.js'].to_s %></script>
       <% else %>
         <% if request.protocol == 'https://' %>
           <script src="https://cartodb-libs.global.ssl.fastly.net/cartodb.js/v3/cartodb.js"></script>
         <% else %>
           <script src="http://libs.cartocdn.com/cartodb.js/v3/cartodb.js"></script>
         <% end %>
  -
  +      <!-- inline statsc -->
  +      <script type="text/javascript"><%= raw Rails.application.assets['statsc.min.js'].to_s %></script>
       <% end %>
   
       <script>
  -
  -      reset_disqus = function() {
  -
  -        DISQUS.reset({
  -          reload: true
  -        });
  -
  -      };
  -
  -    if (!window.addEventListener) {
  -      window.attachEvent('orientationchange', reset_disqus, this);
  -    } else {
  -      window.addEventListener('orientationchange', reset_disqus);
  -    }
   
         function get_url_params(conversion) {
   
  
positive.code: 
      <% if !Rails.env.production? %>
        <%= stylesheet_link_tag 'cdb/themes/css/cartodb' %>
        <!--[if lte IE 8]>
        <%= stylesheet_link_tag 'cdb/themes/css/cartodb.ie' %>
        <![endif]-->
      <% else %>
       <% if request.protocol == 'https://' %>
          <link rel="stylesheet" href="https://cartodb-libs.global.ssl.fastly.net/cartodb.js/v3/themes/css/cartodb.css" />
          <!--[if lte IE 8]>
          <link rel="stylesheet" href="https://cartodb-libs.global.ssl.fastly.net/cartodb.js/v3/themes/css/cartodb.ie.css" />
          <![endif]-->
       <% else %>
          <link rel="stylesheet" href="http://libs.cartocdn.com/cartodb.js/v3/themes/css/cartodb.css" />
          <!--[if lte IE 8]>
          <link rel="stylesheet" href="http://libs.cartocdn.com/cartodb.js/v3/themes/css/cartodb.ie.css" />
          <![endif]-->
       <% end %>
  
      <% end %>
  
negative.code: 
          cartodb.config.set({
            cartodb_attributions: "CartoDB <a href='http://cartodb.com/attributions?utm_source=Footer_Link&utm_medium=referral&utm_campaign=Embed_v1&utm_content=Attributions&utm_term=<%= @visualization.user.username %>' target='_blank'>attribution</a>",
            cartodb_logo_link: "http://www.cartodb.com?utm_source=Footer_Link&utm_medium=referral&utm_campaign=Embed_v1&utm_content=Logo"
          })
  
          var loadingTime = cartodb.core.Profiler.metric('cartodb-js.embed.time_full_loaded').start();
          var visReadyTime = cartodb.core.Profiler.metric('cartodb-js.embed.time_vis_loaded').start();
  
          cartodb.createVis('map', <%=raw @visualization.to_vizjson.to_json %>, opt, function(vis) {
            visReadyTime.end();
            vis.on('load', function() {
              loadingTime.end();
            })
            // add here your code
            window.vis = vis;
            // some stats
            stats();
          }).on('error', manageError);
        });
  
  