anchor.diff:  
           };
   
  +
  +
           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();
   
             var mobileDevice = /Android|webOS|iPad|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
   
  
positive.code:           'title':        bool_fn,
            'description':  bool_fn,
            'shareable':    bool_fn,
            'cartodb_logo': logo_fn,
            'scrollwheel':  bool_fn,
            'sublayer_options': layer_fn,
  
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"
          })
  
          <% if !Rails.env.development? %>
            var errors = new cdb.admin.ErrorStats();
          <% end %>
          
          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();
  
          var onResize = function() {
  
  