anchor.diff:      opt.version = opt.version ? (opt.version + '/'): '';
   
       if(!global_info.css_included) {
  -      doc.write('<link rel="stylesheet" href="http://libs.cartocdn.com/cartodb.js/v2/' + opt.version + 'themes/css/cartodb.css" />');
  +      doc.write('<link rel="stylesheet" href="'+ lib_url + opt.version + 'themes/css/cartodb.css" />');
         var ua = navigator.userAgent;
         if(ua.indexOf('MSIE 8') != -1 || ua.indexOf('MSIE 7') != -1) {
  -        doc.write('<link rel="stylesheet" href="http://libs.cartocdn.com/cartodb.js/v2/' + opt.version + 'themes/css/cartodb.ie.css" />');
  +        doc.write('<link rel="stylesheet" href="' + lib_url + opt.version + 'themes/css/cartodb.ie.css" />');
         }
         global_info.css_included = true
       }
  
positive.code:         if(global_info.loading) {
              global_info.load_queue.push([map_id, opt.url || VIZJSON_URL, opt]);
          } else {
            load_script('http://libs.cartocdn.com/cartodb.js/v2/' + (opt.debug ? ( opt.version + 'cartodb.uncompressed.js'):'cartodb.js'), function() {
              cartodb.createVis(map_id, opt.url || VIZJSON_URL, opt);
  
              for(var g in global_info.load_queue) {
  
negative.code:     global_info.scripts_loaded = global_info.scripts_loaded || [];
      global_info.load_queue = global_info.load_queue || [];
      global_info.gmaps_queue = global_info.gmaps_queue || [];
  
      var lib_url;
      <% if Rails.env.development? %>
        lib_url = "<%= request.protocol %><%= request.host %>:<%= request.port %>/assets/cdb/";
      <% else %>
        lib_url = "http://libs.cartocdn.com/cartodb.js/v2/"
      <% end %>
  
  
      function contains(array, v) {
        for(var i = 0; i < array.length; ++i) {
  