     resp.photos.photo.forEach(function(o) { data.push(o); });
              this.page = (resp.photos.page != resp.photos.pages) ? resp.photos.page + 1 : 0;
              this.$.threshold.clearLower(!!this.page);
            }
          }.bind(this), 2000);
        // }.bind(this));
        ajax.go();
      }
    }
  });
})();  
</script>
</polymer-element>

</body>
</html>
