onScroll: function() {
var self = this;
var BOTTOM_OFFSET = 0;
$(window).scroll(function () {
var $currentWindow = $(window);
var windowHeight = $currentWindow.height();
var scrollTop = $currentWindow.scrollTop();
var docHeight = $(document).height();
if ((BOTTOM_OFFSET + scrollTop) >= docHeight - windowHeight) {
self.loadMore();
}
});
}