added change to endless-pagination.js