var xhr = (function() {
        if (window.XMLHttpRequest)
          return new XMLHttpRequest();

        var names,