anchor.diff:  
           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",
  +          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);
         });
   
  
positive.code:           }
        }
  
        $(document).ready(function(){
  
          var bool_fn = function(v) { return v == 'true' }
          , is_custom_install = <%= Cartodb.config[:cartodb_com_hosted].present? %>
  
negative.code:       /* Styles showing up new cartodb text */
        <% if @visualization.user.remove_logo? && !Cartodb.config[:cartodb_com_hosted].present? %>
          <% if !params['cartodb_logo'] || params['cartodb_logo'] == "true" %>
            .cartodb-map-wrapper {bottom:30px!important;}
            .cartodb-text {display:block;}
          <% end %>
        <% else %>
          .cartodb-map-wrapper {bottom:30px!important;}
          .cartodb-text {display:block;}
        <% end %>
  
  