anchor.diff:                      });
                   }
   
  -                addMomentScript().then(addMomentLangScript).then(initCalendar);
  +                initCalendar();
   
                   var resizeTimer = null;
   
  
positive.code: 
  <head>
      <uv:head />
      <script type="text/javascript">
          /**
           * @param {string|{}} data
           * @param {string} [data.src]
           * @param {string} [data.fallback]
           * @return {$.Deferred}
           */
          function addScript(data) {
  
              var deferred = $.Deferred();
              var isFallback = typeof data === 'string';
  
              var script  = document.createElement('script');
              script.src  = isFallback ? data : data.src;
              script.type = 'text/javascript';
  
              script.onload  = function() {
                  deferred.resolve();
              };
  
              script.onerror = function() {
                  if (isFallback) {
                      deferred.reject();
                  } else {
                      addScript(data.fallback).then(deferred.resolve);
                  }
              };
  
              document.getElementsByTagName('head')[0].appendChild(script);
  
              return deferred.promise();
          }
      </script>
  </head>
  
  <body>
  
negative.code:                 var webPrefix = "<spring:url value='/web' />";
                  var apiPrefix = "<spring:url value='/api' />";
  
                  // calendar is initialised when moment.js AND moment.language.js are loaded
                  function initCalendar() {
                      var year = getUrlParam("year");
  